import React, { Component } from 'react'
import {NavLink} from 'react-router-dom'
export default class TabBar extends Component {
    render() {
        return (
            <div className="tabbar">
                <NavLink className="block" to="/home">
                    <img src="https://dummyimage.com/30x30" alt="" />
                    <div>首页</div>
                </NavLink>
                <NavLink className="block" to="/allgood">
                    <img src="https://dummyimage.com/30x30" alt="" />
                    <div>所有商品</div>
                </NavLink>
                <NavLink className="block" to="/sdfsdfs">
                    <img src="https://dummyimage.com/30x30" alt="" />
                    <div>最新成交</div>
                </NavLink>
                <NavLink className="block" to="/collect">
                    <img src="https://dummyimage.com/30x30" alt="" />
                    <div>收藏</div>
                </NavLink>
                <NavLink className="block" to="/sdfsdfsd">
                    <img src="https://dummyimage.com/30x30" alt="" />
                    <div>我的</div>
                </NavLink>
            </div>
        )
    }
}
